package com.jflm.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;

import com.jflm.util.RedpacketAlgorithmUtil;

/**
 * ****************** 类说明 ********************* class : RedpacketInfo
 * 
 * @author : mengxiangdong
 * @version : 1.0 description : 红包信息表
 * @see : ***********************************************
 */
public class RedpacketInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	private String packetid;
	private String userid;
	private String source;
	private Integer allcount;
	private Integer openedcount;
	private Short state;
	private BigDecimal allpoints;
	private String starttime;
	private String expiretime;
	private BigDecimal openedopints;
	private BigDecimal effectpoints;
	private BigDecimal rewardpoints;
	private String adduser;
	private String moduser;
	private Timestamp modtime;
	private Timestamp intime;
	private String activityid;
	private String transno;
	private String transdate;
	private String title;
	private String link;
	private String openid;
	private String mobileid;
	
	private List<String> mobileids;

	public List<String> getMobileids() {
		return mobileids;
	}

	public void setMobileids(List<String> mobileids) {
		this.mobileids = mobileids;
	}

	public String getMobileid() {
		return mobileid;
	}

	public void setMobileid(String mobileid) {
		this.mobileid = mobileid;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getStarttime() {
		return starttime;
	}

	public void setStarttime(String starttime) {
		this.starttime = starttime;
	}

	public String getExpiretime() {
		return expiretime;
	}

	public void setExpiretime(String expiretime) {
		this.expiretime = expiretime;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getTransno() {
		return transno;
	}

	public void setTransno(String transno) {
		this.transno = transno;
	}

	public String getTransdate() {
		return transdate;
	}

	public void setTransdate(String transdate) {
		this.transdate = transdate;
	}

	public String getActivityid() {
		return activityid;
	}

	public void setActivityid(String activityid) {
		this.activityid = activityid;
	}

	public String getPacketid() {
		return packetid;
	}

	public void setPacketid(String packetid) {
		this.packetid = packetid;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Integer getAllcount() {
		return allcount;
	}

	public void setAllcount(Integer allcount) {
		this.allcount = allcount;
	}

	public Integer getOpenedcount() {
		return openedcount;
	}

	public void setOpenedcount(Integer openedcount) {
		this.openedcount = openedcount;
	}

	public Short getState() {
		return state;
	}

	public void setState(Short state) {
		this.state = state;
	}

	public BigDecimal getAllpoints() {
		return allpoints;
	}

	public void setAllpoints(BigDecimal allpoints) {
		this.allpoints = allpoints;
	}

	public BigDecimal getOpenedopints() {
		return openedopints;
	}

	public void setOpenedopints(BigDecimal openedopints) {
		this.openedopints = openedopints;
	}

	public BigDecimal getEffectpoints() {
		return effectpoints;
	}

	public void setEffectpoints(BigDecimal effectpoints) {
		this.effectpoints = effectpoints;
	}

	public BigDecimal getRewardpoints() {
		return rewardpoints;
	}

	public void setRewardpoints(BigDecimal rewardpoints) {
		this.rewardpoints = rewardpoints;
	}

	public String getAdduser() {
		return adduser;
	}

	public void setAdduser(String adduser) {
		this.adduser = adduser;
	}

	public String getModuser() {
		return moduser;
	}

	public void setModuser(String moduser) {
		this.moduser = moduser;
	}

	public Timestamp getModtime() {
		return modtime;
	}

	public void setModtime(Timestamp modtime) {
		this.modtime = modtime;
	}

	public Timestamp getIntime() {
		return intime;
	}

	public void setIntime(Timestamp intime) {
		this.intime = intime;
	}
	
	
	@Override
	public String toString() {
		return "RedpacketInfo [packetid=" + packetid + ", userid=" + userid + ", source=" + source + ", allcount="
				+ allcount + ", openedcount=" + openedcount + ", state=" + state + ", allpoints=" + allpoints
				+ ", starttime=" + starttime + ", expiretime=" + expiretime + ", openedopints=" + openedopints
				+ ", effectpoints=" + effectpoints + ", rewardpoints=" + rewardpoints + ", adduser=" + adduser
				+ ", moduser=" + moduser + ", modtime=" + modtime + ", intime=" + intime + ", activityid=" + activityid
				+ ", transno=" + transno + ", transdate=" + transdate + ", title=" + title + ", link=" + link
				+ ", openid=" + openid + "]";
	}
}